package com.crm.dao.mapper.knowledgeitem;

import com.crm.model.entity.knowledgeitem.KnowledgeSection;
import com.crm.model.entity.knowledgeitem.KnowledgeSectionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface KnowledgeSectionMapper {
    long countByExample(KnowledgeSectionExample example);

    int deleteByExample(KnowledgeSectionExample example);

    int deleteByPrimaryKey(String sectionId);

    int insert(KnowledgeSection record);

    int insertSelective(KnowledgeSection record);

    List<KnowledgeSection> selectByExampleWithBLOBs(KnowledgeSectionExample example);

    List<KnowledgeSection> selectByExample(KnowledgeSectionExample example);

    KnowledgeSection selectByPrimaryKey(String sectionId);

    int updateByExampleSelective(@Param("record") KnowledgeSection record, @Param("example") KnowledgeSectionExample example);

    int updateByExampleWithBLOBs(@Param("record") KnowledgeSection record, @Param("example") KnowledgeSectionExample example);

    int updateByExample(@Param("record") KnowledgeSection record, @Param("example") KnowledgeSectionExample example);

    int updateByPrimaryKeySelective(KnowledgeSection record);

    int updateByPrimaryKeyWithBLOBs(KnowledgeSection record);

    int updateByPrimaryKey(KnowledgeSection record);
}